package org.carabiner.examples;

import java.awt.BorderLayout;

import javax.swing.JFrame;

/**
 * Simple JFrame for WindowHarness example.
 * 
 * <p>
 * Carabiner Testing Framework
 * </p>
 * <p>
 * Copyright: GNU Public License (http://www.gnu.org/licenses/gpl.html)
 * </p>
 * 
 * @author John Januskey (john.januskey@gmail.com)
 */
public class MyWindow extends JFrame
{
  public MyWindow(MyDataModel model)
  {
    MyGuiControl control = new MyGuiControl(model);
    getContentPane().add(control, BorderLayout.CENTER);
    pack();
  }
}
